package com.zkthink.ceres.member.service.impl;

import com.zkthink.ceres.member.dao.MemberTagRelMapper;
import com.zkthink.ceres.member.entity.MemberTagRel;
import com.zkthink.ceres.member.service.MemberTagRelService;
import com.zkthink.base.service.SuperServiceImpl;

import com.zkthink.ceres.member.vo.MemberTagCountVO;
import com.zkthink.ceres.member.vo.MemberTagVO;
import java.util.List;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Service;

/**
 * <p>
 * 业务实现类
 * 会员标签关联表
 * 
 * </p>
 *
 * @author kellen
 * @date 2020-07-12
 */
@Slf4j
@Service
public class MemberTagRelServiceImpl extends SuperServiceImpl<MemberTagRelMapper, MemberTagRel> implements MemberTagRelService {

  @Override
  public List<MemberTagVO> findByMid(Long mid) {
    return baseMapper.findByMid(mid);
  }

  @Override
  public List<MemberTagCountVO> queryMemberTagCountList(List<Long> tagIds) {
    return baseMapper.queryMemberTagCountList(tagIds);
  }
}
